#ifndef ADDPEOPLE_H
#define ADDPEOPLE_H

#include <QWidget>
#include"addpeopleitem.h"
#include<QTimer>
#include<QListWidgetItem>
namespace Ui {
class addpeople;
}

class addpeople : public QWidget
{
    Q_OBJECT

public:
    explicit addpeople(QWidget *parent = nullptr);
    ~addpeople();
    QString name;
    QString image;
    bool peopleexist=false;
    QTimer* renewuitimer=new QTimer(this);
    addpeopleitem* item=new addpeopleitem(this);
private slots:
    void on_lineEdit_textChanged(const QString &arg1);


signals:
    void Searchpeople(QString account);
    void addpeopleItem(QString addedaccount,QString extrames);
private:
    Ui::addpeople *ui;
};

#endif // ADDPEOPLE_H
